//Confirm 确认提示框
export function confirmWindow(msg = "此操作将永久删除此条数据, 是否继续?", title = "提示", settings = {}) {
    Object.assign(settings,{ //合并对象
      confirmButtonText: '确定',
      cancelButtonText: '取消',
      dangerouslyUseHTMLString: true //允许确认框内容为html格式
    })
    return this.$confirm(msg, title, settings)
  }
  
  //alert 提示框
  export function alertWindow(msg = "请选择一条数据进行删除!", title = "提示", settings = {}) {
    Object.assign(settings,{ //合并对象
      confirmButtonText: '确定',
      dangerouslyUseHTMLString: true //允许确认框内容为html格式
    })
    return this.$alert(msg, title, settings)
  }
  //message 提示框
  export function messageWindow(settings = {}) {
    Object.assign(settings,{ //合并对象
      showClose:true,
      duration:5000,
      dangerouslyUseHTMLString: true //允许确认框内容为html格式
    })
    return this.$message(settings)
  }
  